package com.erp.erp_ui.warehouse.req;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName : InitStockDetailReq
 * @Description : 初始化库存明细入参实体
 * @Author : lst
 * @Date: 2020-07-22 11:49
 */
public class InitStockDetailReq implements Serializable {

    /**
     * 序列码
     */
    private static final long serialVersionUID = -7983910202895150129L;

    /**
     * 产品编码
     */
    private String productCode;
    /**
     * 规格编码
     */
    private String specificationCode;
    /**
     * 产品单位
     */
    private String productUnit;
    /**
     * 产品数量
     */
    private BigDecimal productNum;
    /**
     * 入库单价
     */
    private BigDecimal inStoreUnitPrice;
    /**
     * 费用小计
     */
    private BigDecimal costSubtotal;
    /**
     * 入库成本
     */
    private BigDecimal inStoreCost;
    /**
     * 金额小计
     */
    private BigDecimal moneySubtotal;
    /**
     * 合同类型(1:内销 2:外销 3:待定)
     */
    private Integer contractType;
    /**
     * 产品中文名称
     */
    private String productCname;
    /**
     * 产品英文名称
     */
    private String productEName;
    /**
     * 产品中文描述
     */
    private String productCDesc;
    /**
     * 产品英文描述
     */
    private String productEDesc;
    /**
     * 规格说明
     */
    private String specificationExplanation;
    /**
     * 批次号
     */
    private String lotNo;
    /**
     * 备注
     */
    private String memo;
    /**
     * 仓库id
     */
    private Integer warehouseId;


    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getSpecificationCode() {
        return specificationCode;
    }

    public void setSpecificationCode(String specificationCode) {
        this.specificationCode = specificationCode;
    }

    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

    public BigDecimal getProductNum() {
        return productNum;
    }

    public void setProductNum(BigDecimal productNum) {
        this.productNum = productNum;
    }

    public BigDecimal getInStoreUnitPrice() {
        return inStoreUnitPrice;
    }

    public void setInStoreUnitPrice(BigDecimal inStoreUnitPrice) {
        this.inStoreUnitPrice = inStoreUnitPrice;
    }

    public BigDecimal getCostSubtotal() {
        return costSubtotal;
    }

    public void setCostSubtotal(BigDecimal costSubtotal) {
        this.costSubtotal = costSubtotal;
    }

    public BigDecimal getInStoreCost() {
        return inStoreCost;
    }

    public void setInStoreCost(BigDecimal inStoreCost) {
        this.inStoreCost = inStoreCost;
    }

    public BigDecimal getMoneySubtotal() {
        return moneySubtotal;
    }

    public void setMoneySubtotal(BigDecimal moneySubtotal) {
        this.moneySubtotal = moneySubtotal;
    }

    public Integer getContractType() {
        return contractType;
    }

    public void setContractType(Integer contractType) {
        this.contractType = contractType;
    }

    public String getProductCname() {
        return productCname;
    }

    public void setProductCname(String productCname) {
        this.productCname = productCname;
    }

    public String getProductEName() {
        return productEName;
    }

    public void setProductEName(String productEName) {
        this.productEName = productEName;
    }

    public String getProductCDesc() {
        return productCDesc;
    }

    public void setProductCDesc(String productCDesc) {
        this.productCDesc = productCDesc;
    }

    public String getProductEDesc() {
        return productEDesc;
    }

    public void setProductEDesc(String productEDesc) {
        this.productEDesc = productEDesc;
    }

    public String getSpecificationExplanation() {
        return specificationExplanation;
    }

    public void setSpecificationExplanation(String specificationExplanation) {
        this.specificationExplanation = specificationExplanation;
    }

    public String getLotNo() {
        return lotNo;
    }

    public void setLotNo(String lotNo) {
        this.lotNo = lotNo;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Integer getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("InitStockDetailReq").append('[')
                .append("productCode=")
                .append(productCode)
                .append(",specificationCode=")
                .append(specificationCode)
                .append(",productUnit=")
                .append(productUnit)
                .append(",productNum=")
                .append(productNum)
                .append(",inStoreUnitPrice=")
                .append(inStoreUnitPrice)
                .append(",costSubtotal=")
                .append(costSubtotal)
                .append(",inStoreCost=")
                .append(inStoreCost)
                .append(",moneySubtotal=")
                .append(moneySubtotal)
                .append(",contractType=")
                .append(contractType)
                .append(",productCname=")
                .append(productCname)
                .append(",productEName=")
                .append(productEName)
                .append(",productCDesc=")
                .append(productCDesc)
                .append(",productEDesc=")
                .append(productEDesc)
                .append(",specificationExplanation=")
                .append(specificationExplanation)
                .append(",lotNo=")
                .append(lotNo)
                .append(",memo=")
                .append(memo)
                .append(",warehouseId=")
                .append(warehouseId)
                .append(']');
        return sb.toString();
    }
}
